package com.zjxf.service;

import com.alibaba.fastjson.JSONObject;
import com.zjxf.base.bean.po.CmsSchoolTutor;
import com.zjxf.base.bean.po.UmsStoreSeller;
import com.zjxf.base.bean.ro.RoCmsSchoolTutor;
import com.zjxf.base.bean.vo.VoCmsSchoolTutor;
import com.zjxf.base.common.OperationException;
import org.springframework.data.domain.Page;

/**
 * 长征大学导师
 *
 * @author ZhangWei
 * @date 2021/4/7/007 10:30
 */
public interface CmsSchoolTutorService {
    void addOrUpdate(VoCmsSchoolTutor.addOrUpdate vo, UmsStoreSeller umsStoreSeller);

    void delete(Long id) throws OperationException;

    CmsSchoolTutor getEntity(Long id) throws OperationException;

    RoCmsSchoolTutor.Details getEntityRo(CmsSchoolTutor cmsSchoolTutor);

    Page<CmsSchoolTutor> page(VoCmsSchoolTutor.filter filter,UmsStoreSeller umsStoreSeller);

    JSONObject pageRo(Page<CmsSchoolTutor> cmsLmSchoolTutorPage);
}
